package cn.sym.org.aspect.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Syslog implements Serializable {
    private Long id;
    //用户名
    private String username = "sym";
    //方法名
    private String methodName;
    private String remark;
    //参数
    private String params;
    //操作方法
    //ip地址
    private String ip;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date createDate; //操作时间
    //创建getter和setter方法
}
